import request from '@/utils/request'
import { praseStrEmpty } from "@/utils/admin";

// 查询用户列表
export function listData(query) {
  return request({
    url: '/user/user/dict/pageDictValue',
    method: 'post',
    data: query
  })
}


export function addData(query) {
  return request({
    url: '/user/user/dict/addNewDictValue',
    method: 'post',
    data: query
  })
}


export function updateData(query) {
  return request({
    url: '/user/user/dict/updateDictValue',
    method: 'post',
    data: query
  })
}


export function removeData(query) {
  return request({
    url: '/user/user/dict/removeDictValues',
    method: 'post',
    data: query
  })
}
